<!DOCTYPE>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>{$System_namex}</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/semantic.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/main.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/common.css">
    <script src="__PUBLIC__/Js/flickity-docs.min.js"></script>
</head>
<body>
<div class="ui inverted vertical masthead" style="margin-bottom:45px;">

   <!--  <div class="wr">
        <div id="focus">
            <ul style="width: 100%"> -->
                <li><a href="#" target="_blank"><img src="" width="100%" id="pic" /></a>
                    <!-- <div class="preBtn" onclick="showPre()"></div> -->
                    <!-- <div class="nextBtn" onclick="showNext()"></div> -->
                </li>
 <!--            </ul>
        </div>
    </div> -->
    <div class="guessulike">
        <div class="goods-li">

            <volist name="productType" id="typeList">
                <div class="col-title mtb15 clearfix">
                    <span class="font16">{$typeList.tpname}</span>
                    <a href="__APP__/Gouwu/mach_goods/productType/{$typeList.id}" class="pull-right font12">更多 &gt;</a>
                </div>
                <div class="ui internally celled grid" style="margin-top:10px;">
                    <div class="row">
                        <volist name="allProduct[$typeList['id']]" id="Product" >
                            <div class="eight wide column" style="padding: 0px">
                                <div class="goods-img">
                                    <a href="__URL__/Cpcontent/id/{$Product.id}"><img class="ui image" src="{$Product.img}"></a>
                                </div>
                                <p class="title"><a href="__URL__/Cpcontent/id/{$Product.id}">{$Product.name}</a></p>
                                <p class="pic_box" style="padding-left: 10px;width: 70%;float: left"><span class="pirce" style="color: #c73934;font-size: 16px;font-weight: 600">¥ {$Product.money}</span>
                                <p class="b_mingoods_btn add-buy-btn"><a href="__URL__/Cpcontent/id/{$Product.id}" class="buyproduct" data-pid="{$Product.id}" style="color: #c73934;font-weight: 600">购买</a></p>
                                </p>
                                
                            </div>
                        </volist>
                    </div>
                </div>
            </volist>
        </div>
    </div>




    <script>
//        var x = 50,y = 60
//        var xin = true, yin = true
//        var step = 1
//        var delay = 30
//        var obj=document.getElementById("www_qpsh_com")
//        function floatwww_qpsh_com() {
//            var L=T=0
////by www.qpsh.com
//            var R= document.body.clientWidth-obj.offsetWidth
//            var B = document.body.clientHeight-obj.offsetHeight
//            obj.style.left = x + document.body.scrollLeft
//            obj.style.top = y + document.body.scrollTop
//            x = x + step*(xin?1:-1)
//            if (x < L) { xin = true; x = L}
//            if (x > R){ xin = false; x = R}
//            y = y + step*(yin?1:-1)
//            if (y < T) { yin = true; y = T }
//            if (y > B) { yin = false; y = B }
//        }
//        var itl= setInterval("floatwww_qpsh_com()", delay)
//        obj.onmouseover=function(){clearInterval(itl)}
//        obj.onmouseout=function(){itl=setInterval("floatwww_qpsh_com()", delay)}
    </script>
    <!--图片漂浮广告代码结束-->

    <include file="Public:footer" />

    <script type="text/javascript">
        var picsArr=new Array();
        picsArr[0]="__PUBLIC__/Images/banner01.jpg";
        picsArr[1]="__PUBLIC__/Images/banner02.jpg";
        picsArr[2]="__PUBLIC__/Images/banner03.jpg";
        var timer,index=0;
        window.onload=showPic();

        function showPic(){
            document.getElementById("pic").src=picsArr[index];
            if(index<(picsArr.length-1))
                index++;
            else
                index=(index+1)%picsArr.length;
            timer=setTimeout("showPic()",5000);
        }

        function showPrepic()
        {
            if(index>0)
                index--;
            else
                index=2;
            document.getElementById("pic").src=picsArr[index];
            timer=setTimeout("showPrepic()",5000);
        }


        function showNext()
        {
            clearTimeout(timer);
            showPic();
        }
        function showPre()
        {
            clearTimeout(timer);
            showPrepic();
        }
    </script>